<template>
  <div class="pay-wrapper">
    <div class="header-wrapper">
      <yd-navbar title="汇款信息" height='40px' fontsize='16px'>
        <router-link to="/goods" slot="left">
          <yd-navbar-back-icon></yd-navbar-back-icon>
        </router-link>
      </yd-navbar>
    </div>
    <div class="pay-info">
      <div class="title">您需要支付<span class="total-price">{{totalPrice}}元,</span>&nbsp;&nbsp;货款请付以下账号</div>
      <div class="pay-list">
        <div class="item">支付宝：13099415236</div>
        <div class="item">建设银行：6236&nbsp;&nbsp;6838&nbsp;&nbsp;6000&nbsp;&nbsp;1714&nbsp;&nbsp;059&nbsp;&nbsp;户名：周烂</div>
        <div class="item">农业银行：6228&nbsp;&nbsp;4508&nbsp;&nbsp;6800&nbsp;&nbsp;5220&nbsp;&nbsp;674&nbsp;&nbsp;户名：周烂</div>
      </div>
    </div>
  </div>
</template>

<script type="text/ecmascript-6">
export default {
  data () {
    return {
      totalPrice: ''
    }
  },
  created () {
    this.totalPrice = this.$route.query.totalPrice
  }
}
</script>

<style scoped>
  .pay-wrapper {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #fff;
  }
  .header-wrapper {
    margin-bottom: 25px;
  }
  .title {
    height: 25px;
    padding-bottom: 20px;
    text-align: left;
    padding-left: 15px;
    border-bottom: 1px solid #e1e1e1;
    font-size: 14px;
  }
  .total-price {
    font-size: 16px;
    color: red;
  }
  .item {
    height: 35px;
    line-height: 35px;
    padding-left: 15px;
    font-size: 14px;
    border-bottom: 1px solid #e1e1e1;
  }
</style>
